#ifndef ATTRIBUTE_H
#define ATTRIBUTE_H

#include "namespace.h"

#include <string>
#include <iostream>

class XmlAttribute {
public:
	
	XmlAttribute(char* key, char* value);
	virtual ~XmlAttribute();
	
	void setKey(std::string key);
	void setValue(std::string value);
	void setNamespace(Namespace ns);
	
	std::string getKey();
	std::string getValue();
	Namespace getNamespace();

	void print(std::ostream& out);

protected:

	std::string mKey;
	std::string mValue;
	
	Namespace mNamespace;
	
};

#endif //ATTRIBUTE_H
